package com.qf.office.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 教育经历表
 */
@Data
@TableName(value = "education")
public class Education {
    /**
     * 教育经历id
     */
    @TableId(value = "education_id", type = IdType.INPUT)
    private Integer educationId;

    /**
     * 候选人id
     */
    @TableField(value = "candidate_id")
    private Integer candidateId;

    /**
     * 学历
     */
    @TableField(value = "education")
    private String education;

    /**
     * 院校
     */
    @TableField(value = "academy")
    private String academy;

    /**
     * 专业
     */
    @TableField(value = "specialty")
    private String specialty;

    /**
     * 开始时间
     */
    @TableField(value = "start_time")
    private Date startTime;

    /**
     * 结束时间
     */
    @TableField(value = "end_time")
    private Date endTime;

    /**
     * 0表示未取得学位，1表示取得学位
     */
    @TableField(value = "degree_status")
    private Integer degreeStatus;

    /**
     * 备注
     */
    @TableField(value = "description")
    private String description;

    /**
     * 照片
     */
    @TableField(value = "candidate_picture")
    private String candidatePicture;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 0正常 1删除
     */
    @TableField(value = "del_status")
    private Integer delStatus;

    public static final String COL_EDUCATION_ID = "education_id";

    public static final String COL_CANDIDATE_ID = "candidate_id";

    public static final String COL_EDUCATION = "education";

    public static final String COL_ACADEMY = "academy";

    public static final String COL_SPECIALTY = "specialty";

    public static final String COL_START_TIME = "start_time";

    public static final String COL_END_TIME = "end_time";

    public static final String COL_DEGREE_STATUS = "degree_status";

    public static final String COL_DESCRIPTION = "description";

    public static final String COL_CANDIDATE_PICTURE = "candidate_picture";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_DEL_STATUS = "del_status";
}